package com.itheima.pojo.admin;

/**
 * @author ChenJunJie
 * @date 2022/6/16 20:13
 * 套餐关系类
 */
public class SetmealRelation {
    /**
     * 套餐id
     */
    private String setmealId;
    /**
     * 菜品id
     */
    private String dishId;
    /**
     * 菜品数量
     */
    private Integer copies;

    public SetmealRelation() {
    }

    public SetmealRelation(String setmealId, String dishId, Integer copies) {
        this.setmealId = setmealId;
        this.dishId = dishId;
        this.copies = copies;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    public String getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(String setmealId) {
        this.setmealId = setmealId;
    }

    public String getDishId() {
        return dishId;
    }

    public void setDishId(String dishId) {
        this.dishId = dishId;
    }

    @Override
    public String toString() {
        return "SetmealRelation{" +
                "setmealId='" + setmealId + '\'' +
                ", dishId='" + dishId + '\'' +
                '}';
    }
}
